package com.dashu.visasys.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/demo")
@ResponseBody
public class DemoController {

    @GetMapping("{id}")
    public String demo(@PathVariable String id) {
        return id;
    }
}
